#include<stdio.h>
#include<unistd.h>
#include<sys/types.h>

int main()
{
    pid_t id = getpid();
    pid_t pid = getppid();
    while(1)
    {
        printf("I am a process! pid:%d ppid:%d \n", id, pid);
        sleep(1);
    }
    return 0;
}
